package com.yule.system.dao;

import com.yule.system.model.SystemDept;
import com.yule.system.model.SystemDeptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SystemDeptDao {
    long countByExample(SystemDeptExample example);

    int deleteByExample(SystemDeptExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SystemDept record);

    int insertSelective(SystemDept record);

    List<SystemDept> selectByExample(SystemDeptExample example);

    SystemDept selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SystemDept record, @Param("example") SystemDeptExample example);

    int updateByExample(@Param("record") SystemDept record, @Param("example") SystemDeptExample example);

    int updateByPrimaryKeySelective(SystemDept record);

    int updateByPrimaryKey(SystemDept record);
}